package com.llynosy.interview.service;

import com.llynosy.interview.base.AbstractCommCRUD;
import com.llynosy.interview.mapper.TagMapper;
import com.llynosy.interview.po.Answer;
import com.llynosy.interview.po.Tag;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TagService  extends AbstractCommCRUD<Tag> {

    public List<Tag> getTagByProblemId(Long problemId){
        return ((TagMapper)this.dao).queryTagByProblemId(problemId);
    }

}
